color chooser: Reset show-editor on unmap
authorMatthias Clasen <mclasen@redhat.com>
Wed, 12 Aug 2015 11:22:05 +0000 (07:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 12 Aug 2015 15:29:11 +0000 (11:29 -0400)
commita1332167fb277dfb54a7111b73d594f2d753c7a9
tree47da179dda0b42bec1324d1bb250278b4b86fe77
parent4a8ff565bc06d52806ea080cdb436a647d923d7c
color chooser: Reset show-editor on unmap

We have a testcolorchooser test, with a --edit option. It was
supposed to make the color chooser come up in edit mode, but
it didn't work ever since we dropped the ::response handler.
Fix it by resetting show-editor on unmap, instead of on map.
This way, users can set show-editor before showing the dialog,
and it will take effect.
gtk/gtkcolorchooserdialog.c